package com.woniu.dao;

import com.woniu.pojo.ServiceOrder;
import org.apache.ibatis.annotations.Select;

public interface ServiceOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ServiceOrder record);

    int insertSelective(ServiceOrder record);

    ServiceOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ServiceOrder record);

    int updateByPrimaryKey(ServiceOrder record);

    @Select(value = "select * from service_order where ordernumber=#{no}")
    ServiceOrder selectByNo(String no);
}